#ifndef PARSER_BASE__
#define PARSER_BASE__

#include "sdkeli_ls/SDKeliLsConfig.h"
#include "sensor_msgs/LaserScan.h"

namespace sdkeli_ls
{
	enum ExitCode
	{
		ExitSuccess = 0,
		ExitError   = 1,
		ExitFatal   = 2
	};

	class CParserBase
	{
		public:
			CParserBase();
			virtual ~CParserBase();

			virtual int Parse(char *data, 
					size_t data_length, 
					SDKeliLsConfig &config, 
					sensor_msgs::LaserScan &msg) = 0;
	};
} /*namespace sdkeli_ls*/

#endif /*PARSER_BASE__*/
